package per.kongtouxu.domain.pojo;

import java.io.Serializable;
import java.util.Date;

public class Admin implements Serializable {
    private Long adminId;
    private String adminName;
    private String adminPwd;
    private Integer adminState;
    private Date adminCtime;
    private Long roleId;

    public Admin() {
    }

    public Admin(Long adminId, String adminName, String adminPwd, Integer adminState, Date adminCtime, Long roleId) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminState = adminState;
        this.adminCtime = adminCtime;
        this.roleId = roleId;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }

    public Integer getAdminState() {
        return adminState;
    }

    public void setAdminState(Integer adminState) {
        this.adminState = adminState;
    }

    public Date getAdminCtime() {
        return adminCtime;
    }

    public void setAdminCtime(Date adminCtime) {
        this.adminCtime = adminCtime;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", adminState=" + adminState +
                ", adminCtime=" + adminCtime +
                ", roleId=" + roleId +
                '}';
    }
}
